slmgr /ipk your_license_key
Replace your_license_key
with following volumn license keys according to Windows Edition:
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
#Import-Module PSColors | |
#Import-Module posh-git | |
Import-Module -Name Terminal-Icons |
package main | |
import( | |
"fmt" | |
"syscall" | |
"unsafe" | |
"log" | |
"golang.org/x/sys/windows" | |
) |
COPY ( | |
WITH a AS ( | |
SELECT h3_cell_to_parent(h3_string_to_h3(SUBSTR(id, 0, 17)), 2) h3_2, | |
COUNT(*) num_recs | |
FROM read_parquet('s3://overturemaps-us-west-2/release/2024-05-16-beta.0/theme=places/type=place/*.parquet', | |
filename=true, | |
hive_partitioning=1) | |
GROUP BY 1 | |
) | |
SELECT h3_cell_to_boundary_wkt(h3_2), |
/* | |
VEH misuse detector for Microsoft Windows | |
Released as open source by NCC Group Plc - http://www.nccgroup.com/ | |
Developed by Ollie Whitehouse, ollie dot whitehouse at nccgroup dot com | |
Released under AGPL see LICENSE for more information | |
*/ |
#!/usr/bin/env python3 | |
# original at https://gist.github.com/yinonburgansky/7be4d0489a0df8c06a923240b8eb0191 | |
# modified for ease of use in Hyprland | |
# calculation are based on http://www.esreality.com/index.php?a=post&id=1945096 | |
# assuming windows 10 uses the same calculation as windows 7. | |
# guesses have been made calculation is not accurate | |
# touchpad users make sure your touchpad is calibrated with `sudo libinput measure touchpad-size` | |
# import matplotlib.pyplot as plt |
FROM node:${NODE_VERSION}-alpine | |
WORKDIR /app | |
ENV PATH /app/node_modules/.bin:$PATH | |
#COPY package.json yarn.lock ./ | |
COPY package*.json ./ | |
#RUN yarn install --pure-lockfile |
Inspired by Shiki Magic Move
This code uses Google's diff-match-patch library to animate code transformations in Manim.
import java.util.Objects; | |
import java.util.Optional; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.function.Supplier; | |
import java.util.stream.Stream; | |
public sealed interface Option<T> { | |
record Some<T>(T value) implements Option<T> {} | |
final class None<T> implements Option<T> { |